<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/WEB-INF/templates/errorPage.xhtml">

<ui:define name="header">
    An error occured.
</ui:define>

<ui:define name="bodycontent">
    An error has occured.
    <h:outputText value="#{request.getAttribute('javax.servlet.error.exception')}"/>
</ui:define>

</ui:composition>
